<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>HTML5 WebGL粒子爆炸动画DEMO演示</title>
  <link rel="stylesheet" href="./style.css">
</head>
<body>
  <canvas id="c"></canvas>
  <script id="shader-fs" type="x-shader/x-fragment">
    #ifdef GL_ES
      precision highp float;
    #endif
    void main(void) {
      gl_FragColor = vec4(0.2, 0.3, 0.4, 1.0);
    }
  </script>
  <script id="shader-vs" type="x-shader/x-vertex">
    attribute vec3 vertexPosition;
  	uniform mat4 modelViewMatrix;
  	uniform mat4 perspectiveMatrix;
   	void main(void) {
  		gl_Position = perspectiveMatrix * modelViewMatrix * vec4(  vertexPosition, 1.0);
  	}
  </script>
  <script src="./index.js"></script>
</body>
</html>
